import type { PageModuleTypes } from '../types/index';

/** 会员资料操作分包 */
const modules: PageModuleTypes[] = [
  {
    path: 'selectiveType',
    name: 'selectiveType',
    navigationStyle: 'custom',
    navigationBarTitleText: '申请类型',
  },
  {
    path: 'memberRights',
    name: 'memberRights',
    navigationStyle: 'custom',
    navigationBarTitleText: '会员权益',
  },
  {
    path: 'membershipInfo',
    name: 'membershipInfo',
    navigationStyle: 'custom',
    navigationBarTitleText: '申请表单',
  },
  {
    path: 'updateMembershipInfo',
    name: 'updateMembershipInfo',
    navigationStyle: 'custom',
    navigationBarTitleText: '更新入会资料',
    enablePullDownRefresh: true,
  },
  {
    path: 'updateMembershipInfoResult',
    name: 'updateMembershipInfoResult',
    navigationStyle: 'custom',
    navigationBarTitleText: '更新入会资料结果页'
  },
  // {
  //   path: 'fillInJoinInfo',
  //   name: 'fillInJoinInfo',
  //   navigationStyle: 'custom',
  //   navigationBarTitleText: '申请入会',
  // },
  // {
  //   path: 'applicationStatus',
  //   name: 'applicationStatus',
  //   navigationStyle: 'custom',
  //   navigationBarTitleText: '申请状态',
  //   enablePullDownRefresh: true,
  // },
  {
    path: 'management',
    name: 'membershipManage',
    navigationStyle: 'custom',
    navigationBarTitleText: '成员管理',
    enablePullDownRefresh: true,
  },
  {
    path: 'membershipEdit',
    name: 'membershipEdit',
    navigationStyle: 'custom',
    navigationBarTitleText: '成员编辑',
  },
  {
    path: 'awaitPay',
    name: 'awaitPay',
    navigationStyle: 'custom',
    navigationBarTitleText: '待缴费',
  },
  {
    path: 'playMode',
    name: 'playMode',
    navigationStyle: 'custom',
    navigationBarTitleText: '转账',
  },
  {
    path: 'welcomeMember',
    name: 'welcomeMember',
    navigationStyle: 'custom',
    navigationBarTitleText: '会员证',
  },
  {
    path: 'businessInfo',
    name: 'businessInfo',
    navigationStyle: 'custom',
    navigationBarTitleText: '工商信息',
    backgroundColor: '#fff',
  },
  {
    path: 'policyServiceReport',
    name: 'policyServiceReport',
    navigationStyle: 'custom',
    navigationBarTitleText: '政策服务报告',
    backgroundColor: '#fff',
  },
  {
    path: 'policyDetail',
    name: 'policyDetail',
    navigationStyle: 'custom',
    navigationBarTitleText: '政策详情',
    backgroundColor: '#fff',
  },
];

export default modules;
